<%@ Page Language="VB" AutoEventWireup="false" CodeFile="NOCFOP.aspx.vb" Inherits="NOCFOP" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Sistema LIIOn</title>
</head>
<body>
    <form id="form1" runat="server">
    <table style="z-index: 100; left: 1px; top: 2px; position: absolute">
        <tr>
            <td style="height: 68px; width: 10px;">
                &nbsp;
            </td>
            <td style="height: 68px; width: 80%; background-color: black;">            
                <asp:Image ID="imgLogoEmpresa" runat="server" EnableViewState="False" ImageUrl="~/Imagens/SCJ_Logo2B.JPG"
                    Style="z-index: 100; left: 8px; position: relative; top: 4px" />
                &nbsp;
                <asp:Label ID="lblModulo" runat="server" Style="z-index: 101; left: 180px; position: absolute; top: 18px" Font-Bold="True" ForeColor="White" Font-Names="Tahoma" Font-Size="Small"></asp:Label>            
                <br />
                <asp:Label ID="lblModuloItem" runat="server" Style="z-index: 103; left: 180px; position: absolute;
                    top: 41px" Font-Bold="True" ForeColor="White" Font-Names="Tahoma" Font-Size="Small"></asp:Label>
            </td>
            <td style="height: 68px; width: 20%; background-color: black; border-top-style: solid; border-top-color: black; border-right-style: solid; border-right-color: black;">          
                <asp:Image ID="imgLogoLIIOn" runat="server" ImageUrl="~/Imagens/LIIOn_MiniLogo2.jpg"
                    Style="z-index: 104; left: 25%; position: relative; top: 1px" ImageAlign="Baseline" />
            </td>
        </tr>
        <tr>
            <td style="height: 450px; width: 10px" valign="top">
                <br />                
            </td>            
            <td style="width: 80%; height: 450px; background-color: #ffff82; border-right-style: solid; border-right-color: black;" valign="top">
                <asp:GridView ID="gvwData" runat="server" AllowPaging="True" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" HorizontalAlign="Center" PageSize="15">
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Font-Names="Tahoma" Font-Size="Small" />
                    <Columns>
                        <asp:BoundField DataField="CodNaturezaOperacao" HeaderText="C&#243;digo" SortExpression="CodNaturezaOperacao" >
                            <ItemStyle Width="50px" HorizontalAlign="Right" />
                            <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>
			<asp:BoundField DataField="DscNaturezaOperacao" HeaderText="Natureza da Opera&#231;&#227;o" SortExpression="DscNaturezaOperacao" >
                            <ItemStyle Width="250px" HorizontalAlign="Left" />
                <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CodCFOP" HeaderText="C&#243;digo" SortExpression="CodCFOP">
                            <ItemStyle HorizontalAlign="Right" Width="50px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DscCFOP" HeaderText="CFOP" SortExpression="DscCFOP">
                            <HeaderStyle HorizontalAlign="Left" />
                            <ItemStyle HorizontalAlign="Left" Width="250px" />
                        </asp:BoundField>
                        <asp:CommandField SelectText="Sel" ShowSelectButton="True" >
                            <ItemStyle Width="20px" />
                            <HeaderStyle HorizontalAlign="Center" />
                        </asp:CommandField>
                    </Columns>
                    <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Font-Names="Tahoma" Font-Size="Small" />
                    <EditRowStyle BackColor="#999999" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
                &nbsp;
            </td>
            <td style="height: 450px; width: 20%; background-color: white; border-right-style: solid; border-right-color: black;">          
                &nbsp;
            </td>            
        </tr>
        <tr id="L3">
            <td id="L3C1" style="height: 12px; width: 10px;">
                &nbsp;
            </td>
            <td id="L3C2" style="height: 12px; width: 80%; background-color: #ffff82; 
                border-right-color: black; border-right-style: solid;
                border-bottom-color: black; border-bottom-style: solid;">
                <asp:Label 
                    ID="lblMsg" runat="server" 
                    Style="position: static; width: 400px;" 
                    Text=" " 
                    Font-Bold="True" Font-Names="Tahoma" Font-Size="Small" ForeColor="Red" Width="600px"></asp:Label>
            </td>
            <td id="L3C3" style="height: 12px; width: 20%; background-color: white; border-right-style: solid; border-right-color: black;">
                &nbsp;
            </td>
        </tr>        
        <tr>
            <td style="height: 30px; width: 10px;">
                &nbsp;
            </td>
            <td style="height: 30px; width: 80%; background-color: black;">
                &nbsp;                
                <asp:Button ID="btnIncluir" runat="server" Style="z-index: 100; left: 1px; position: relative;
                    top: 1px" Text="Incluir" Width="70px" Font-Names="Tahoma" 
                />
                <asp:Button ID="btnConsultar" runat="server" Style="z-index: 100; left: 3px; position: relative;
                    top: 1px" Text="Consultar" Width="70px" Font-Names="Tahoma"
                />&nbsp;
                <asp:Button ID="btnExcluir" runat="server" Style="z-index: 100; left: 5px; position: relative;
                    top: 1px" Text="Excluir" Width="70px" Font-Names="Tahoma"
                />
                <asp:Button ID="btnVoltar" runat="server" Style="z-index: 100; left: 25px; position: relative;
                    top: 1px" Text="Voltar" Width="70px" Font-Names="Tahoma"
                />
            </td>
            <td style="height: 30px; width: 20%; background-color: white; border-bottom-color: black; border-right-style: solid; border-right-color: black; border-bottom-style: solid;">          
                    &nbsp;
            </td>            
        </tr>
    </table>
   </form>
</body>
</html>

